package com.future.service.consumer.controller;

import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.future.service.DemoService;

@RestController
public class RemoteUserController {

	@Reference(check=false, retries=5, cluster="failfast")
	private DemoService service;

	public void doSomeThing() {
		String ret = service.sayHello("matthow");
		System.out.println("call RemoteUserController:doSomeThing " + ret);
	}
}
